home *** CD-ROM | disk | FTP | other *** search
/ MacWorld: Super Stacks! / Macworld CD.iso / HyperCard Archives / International / French v1.2.5.1 / Base / card_3011.txt < prev    next >
Text File  |  1989-09-15  |  7KB  |  290 lines

  1. -- card: 3011 from stack: in
  2. -- bmap block id: 4702
  3. -- flags: 4000
  4. -- background id: 2282
  5. -- name: Préférences
  6. ----- HyperTalk script -----
  7. on openCard
  8.   setUserLevel the userLevel
  9.   if card field "Utilisateur" is empty
  10.   then click at the loc of card field "Utilisateur"
  11.   pass openCard
  12. end openCard
  13.  
  14. on setUserLevel whatLevel
  15.   set userLevel to whatLevel
  16.   if the userLevel is whatLevel then
  17.     put the userLevel into card field "Niveau d'utilisation"
  18.     set hilite of button "Navigation" to the userLevel = 1
  19.     set hilite of button "Texte" to the userLevel = 2
  20.     set hilite of button "Dessin" to the userLevel = 3
  21.     set hilite of button "Auteur" to the userLevel = 4
  22.     set hilite of button "Programmation" to the userLevel = 5
  23.     set visible of button "D√©placement du curseur" to the userlevel >= 2
  24.     set visible of button "Raccourcis" to the userLevel >= 3
  25.     set visible of button "Saisie masqu√©e" to the userLevel = 5
  26.     set hilite of button "D√©placement du curseur" to the textArrows
  27.     set hilite of button "Raccourcis" to the powerKeys
  28.     set hilite of button "Saisie masqu√©e" to the blindTyping
  29.   else
  30.     set hilite of the target to false
  31.   end if
  32. end setUserLevel
  33.  
  34. on closeCard
  35.   global userName
  36.   put card field "utilisateur" into userName
  37. end closeCard
  38.  
  39.  
  40.  
  41.  
  42. -- part 1 (button)
  43. -- low flags: 00
  44. -- high flags: A006
  45. -- rect: left=95 top=145 right=166 bottom=223
  46. -- title width / last selected line: 0
  47. -- icon id / first selected line: 0 / 0
  48. -- text alignment: 1
  49. -- font id: 0
  50. -- text size: 12
  51. -- style flags: 0
  52. -- line height: 16
  53. -- part name: Navigation
  54. ----- HyperTalk script -----
  55. on mouseUp
  56.   setUserLevel 1
  57. end mouseUp
  58.  
  59.  
  60.  
  61. -- part 2 (button)
  62. -- low flags: 00
  63. -- high flags: E006
  64. -- rect: left=95 top=187 right=208 bottom=223
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 0 / 0
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Dessin
  73. ----- HyperTalk script -----
  74. on mouseUp
  75.   setUserLevel 3
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 3 (button)
  81. -- low flags: 00
  82. -- high flags: A006
  83. -- rect: left=95 top=208 right=229 bottom=223
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: Auteur
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   setUserLevel 4
  95. end mouseUp
  96.  
  97.  
  98.  
  99. -- part 4 (button)
  100. -- low flags: 00
  101. -- high flags: A006
  102. -- rect: left=95 top=229 right=250 bottom=223
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 0 / 0
  105. -- text alignment: 1
  106. -- font id: 0
  107. -- text size: 12
  108. -- style flags: 0
  109. -- line height: 16
  110. -- part name: Programmation
  111. ----- HyperTalk script -----
  112. on mouseUp
  113.   setUserLevel 5
  114. end mouseUp
  115.  
  116.  
  117.  
  118. -- part 5 (button)
  119. -- low flags: 00
  120. -- high flags: A005
  121. -- rect: left=226 top=187 right=208 bottom=329
  122. -- title width / last selected line: 0
  123. -- icon id / first selected line: 0 / 0
  124. -- text alignment: 1
  125. -- font id: 0
  126. -- text size: 12
  127. -- style flags: 0
  128. -- line height: 16
  129. -- part name: Raccourcis
  130. ----- HyperTalk script -----
  131. on mouseUp
  132.   set powerKeys to the hilite of button "Raccourcis"
  133. end mouseUp
  134.  
  135.  
  136.  
  137. -- part 7 (field)
  138. -- low flags: 00
  139. -- high flags: 0000
  140. -- rect: left=173 top=91 right=111 bottom=397
  141. -- title width / last selected line: 0
  142. -- icon id / first selected line: 0 / 0
  143. -- text alignment: 0
  144. -- font id: 3
  145. -- text size: 14
  146. -- style flags: 0
  147. -- line height: 18
  148. -- part name: Utilisateur
  149. ----- HyperTalk script -----
  150. on closeField
  151.   global userName
  152.   put card field "Utilisateur" into userName
  153. end closeField
  154.  
  155.  
  156.  
  157. -- part 8 (button)
  158. -- low flags: 00
  159. -- high flags: A006
  160. -- rect: left=95 top=166 right=187 bottom=223
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 1
  164. -- font id: 0
  165. -- text size: 12
  166. -- style flags: 0
  167. -- line height: 16
  168. -- part name: Texte
  169. ----- HyperTalk script -----
  170. on mouseUp
  171.   setUserLevel 2
  172. end mouseUp
  173.  
  174.  
  175.  
  176. -- part 9 (field)
  177. -- low flags: 81
  178. -- high flags: 0000
  179. -- rect: left=233 top=124 right=143 bottom=258
  180. -- title width / last selected line: 0
  181. -- icon id / first selected line: 0 / 0
  182. -- text alignment: 0
  183. -- font id: 3
  184. -- text size: 12
  185. -- style flags: 0
  186. -- line height: 16
  187. -- part name: Niveau d'utilisation
  188.  
  189.  
  190. -- part 21 (button)
  191. -- low flags: 00
  192. -- high flags: A005
  193. -- rect: left=226 top=164 right=186 bottom=419
  194. -- title width / last selected line: 0
  195. -- icon id / first selected line: 0 / 0
  196. -- text alignment: 1
  197. -- font id: 0
  198. -- text size: 12
  199. -- style flags: 0
  200. -- line height: 16
  201. -- part name: Déplacement du curseur
  202. ----- HyperTalk script -----
  203. on mouseUp
  204.   set textArrows to the hilite of button "D√©placement du curseur"
  205. end mouseUp
  206.  
  207.  
  208.  
  209. -- part 20 (field)
  210. -- low flags: 80
  211. -- high flags: 0000
  212. -- rect: left=230 top=125 right=145 bottom=425
  213. -- title width / last selected line: 0
  214. -- icon id / first selected line: 0 / 0
  215. -- text alignment: 0
  216. -- font id: 3
  217. -- text size: 12
  218. -- style flags: 0
  219. -- line height: 16
  220. -- part name: Niveau d'utilisation
  221.  
  222.  
  223. -- part 13 (button)
  224. -- low flags: 80
  225. -- high flags: A005
  226. -- rect: left=226 top=229 right=250 bottom=349
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: Saisie masquée
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   set blindTyping to the hilite of button "Saisie masqu√©e"
  238. end mouseUp
  239.  
  240.  
  241.  
  242. -- part 19 (field)
  243. -- low flags: 81
  244. -- high flags: 2007
  245. -- rect: left=17 top=67 right=320 bottom=486
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 0
  249. -- font id: 3
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: Aide de base
  254. ----- HyperTalk script -----
  255. on mouseUp
  256.   hide card field id 19
  257. end mouseUp
  258.  
  259.  
  260.  
  261. -- part contents for background part 6
  262. ----- text -----
  263. Préférences
  264.  
  265. -- part contents for card part 9
  266. ----- text -----
  267. 3
  268.  
  269. -- part contents for card part 19
  270. ----- text -----
  271. La carte Pr√©f√©rences permet de choisir le niveau d'utilisation dans HyperCard. Cinq niveaux sont pr√©vus :
  272.  
  273. 1. NAVIGATION : navigation bas√©e sur les menus et boutons. 
  274. 2. TEXTE : cr√©ation et modification de texte.
  275. 3. DESSIN : cr√©ation et modification de dessin.
  276. 4. AUTEUR : cr√©ation de boutons, champs et liens.  
  277. 5. PROGRAMMATION : programmation en langage HyperTalk.
  278.  
  279. ‚Ä¢ Des "Raccourcis" sont disponibles pour les niveaux 3, 4 et 5. Ils s'appliquent aux fonctions de dessin (par exemple M pour Trac√© multiple...).
  280. Cocher cette case √©quivaut √† choisir l'article "Raccourcis" dans le menu "Options".  
  281. ‚Ä¢ "Saisie masqu√©e" est uniquement disponible pour le niveau 5. Elle permet de taper un message dans la fen√™tre de message lorsqu'elle est masqu√©e (ainsi vous disposez du plein √©cran pour la carte si n√©cessaire).
  282. ‚Ä¢ Le niveau d'utilisation peut √™tre modifi√© dans le cadre de l'article 
  283. "Prot√©ger la pile" du menu "Fichier" ou en utilisant HyperTalk (par exemple, taper "set userlevel to 2" dans la fen√™tre de message d'un script, passera en mode Texte).
  284. ‚Ä¢ Les trois cartes de recherche de la pile de base sont uniquement disponibles pour le niveau 5.
  285.  
  286.  
  287.  
  288. -- part contents for card part 20
  289. ----- text -----
  290. 5